package logic

import (
	"context"

	"github.com/zeromicro/go-zero/tools/goctl/example/api/internal/domain"
	"github.com/zeromicro/go-zero/tools/goctl/example/api/internal/svc"
)

type Role interface {
	SetAdmin(ctx context.Context, req *domain.SetAdminRoleReq) (resp *domain.SetAdminRoleResp, err error)
}

type role struct {
	svcCtx *svc.ServiceContext
}

func NewRole(svcCtx *svc.ServiceContext) Role {
	return &role{
		svcCtx: svcCtx,
	}
}

func (l *role) SetAdmin(ctx context.Context, req *domain.SetAdminRoleReq) (resp *domain.SetAdminRoleResp, err error) {
	return
}
